@import "./user/lib/base.scss";
@import "bulma";
@import "./user/page.scss";

nav.navbar {
  a.navbar-item,
  .navbar-item.has-dropdown .navbar-link,
  .navbar-dropdown a.navbar-item {
    &:focus,
    &:hover,
    &.is-active {
      background-color: darken($navbar-background-color, 5%);
      color: $navbar-item-color;
    }
  }
}
footer.footer {
  @extend %aleo-font;
  strong {
    color: white;
  }
  a {
    color: darken(white, 25%);
  }
}

.pr-sidebar {
  position: sticky;
  top: 0;
}

// 加载动画
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 58px;
    height: 58px;
    opacity: 0;
  }
}
